package cz.acies.genea.data.gedcom.model;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class Extensions
{
	private Map<String, Object> extensions;

	public Extensions() {
		extensions = new HashMap<String, Object>();
	}

	public Map<String, Object> getExtensions() {
		return extensions;
	}

	public void setExtensions(Map<String, Object> extensions) {
		this.extensions = extensions;
	}

	public Object get(String key) {
		return extensions.get(key);
	}

	public void put(String key, Object extension) {
		extensions.put(key, extension);
	}

	public Set<String> getKeys() {
		return extensions.keySet();
	}
}
